package Demo2;

public class Cycle extends Shape{
    void drew(){
        System.out.println("画一个圆");
    }
}
class test{
    public static void main(String[] args) {
        Shape shape1=new Rect();
        shape1.drew();
    }
}
